import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {ExceptionComponent} from "./exception.component";
import {ExceptionDetailComponent} from "./exception-detail/exception-detail.component";

const routes: Routes = [
  {
    path :"",
    component: ExceptionComponent,
  },
  {
    path :'exception-detail',
    component: ExceptionDetailComponent,
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class ExceptionRoutingModule { }
